syntax of nested if

welcome to shbcf.ru